<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Dcat\Admin\Traits\HasDateTimeFormatter;
class Article extends Model
{
    use HasDateTimeFormatter;

    protected $dates = ['delete_at','release_at'];

    public function cate()
    {
        return $this->belongsTo(ArticleCate::class,'article_cate_id');
    }
}
